<template>
    <div class="application-container">
        <router-view></router-view>
        <component :is='name'></component>
    </div>
</template>

<script lang="ts" setup>
import { computed } from "vue";
import { useRoute } from "vue-router";

const route = useRoute()
const name = computed(()=>{
    return route.meta.layout || 'main-layout'
})

// document.addEventListener('plusready',function(){
//     console.log(plus.navigator.hasNotchInScreen())
// },fa)
</script>